import Cookies from 'js-cookie'

const TokenKey = 'loginToken'

export function getTokenFromCookie() {
  return Cookies.get(TokenKey)
}

export function setTokenToCookie(token) {
  return Cookies.set(TokenKey, token)
}